import {get,post} from '@/utils/request'
import el from 'element-ui/src/locale/lang/el'

export function getList(params) {
  return get('/ht/prefixList.json',
    params)
}

export function updatePrefixStatus(id) {
  return post("/ht/updatePrefixStatus.json",{enterpriseDataId:id})
}

export function  enterpriseDataDel(id) {
  return post('/ht/enterpriseDataDel.json',{id:id})
}

export  function  prefixDetail(id) {
    return get("/ht/prefixDetail.json",{id:id})
}

export  function  prefixConfigAdd(params) {
   return post("/ht/prefixConfigAdd.json",params)
}
